package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.sup.PageRequest;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
public class GetUserEquityPropsPageRequest extends PageRequest {

    @ApiModelProperty(value = "用户手机号")
    @NotBlank(message = "用户手机号不能为空")
    private String userTel;

    @ApiModelProperty(value = "道具卡名称")
    private String firstTitle;

    @ApiModelProperty(value = "获取开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date getBeginTime;


    @ApiModelProperty(value = "获取结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date getEndTime;

    @ApiModelProperty(value = "过期开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expiredBeginTime;

    @ApiModelProperty(value = "过期结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expiredEndTime;

    @ApiModelProperty(value = "寄售状态 0全部 1寄售中 2未寄售")
    private Integer onConsignStatus;
}
